package com.bjwl.modules.app.controller;

import com.bjwl.common.utils.R;
import com.bjwl.modules.app.pojo.PasswordVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

/**
 * 作者 Administrator<br/>
 * 创建时间: 2021/11/28<br/>
 * 描述: <br/>
 */
@RestController
@RequestMapping("app/mine")
public class MineAppController {

    @RequestMapping("changeHeadPicture")
    public R changeHeadPicture(String userId,@RequestParam("file") MultipartFile file){


        return R.ok();
    }

    @RequestMapping("changePassword")
    public R changePassword(@RequestBody PasswordVO passwordVO,String userId){
        return R.ok();
    }

}
